import request from '@/utils/request'
import {loginService} from '@/utils/request'

export function login(params) {
  return loginService({
    url: '/login/pwdLogin',
    method: 'post',
    params
  })
}
export function getInfo() {
  return request({
    url: '/userInfo/getUserInfoByToken',
    method: 'post',
  })
}
export function logout() {
  return request({
    url: '/login/loginOut',
    method: 'post'
  })
}

